<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>登陆</title>
		<link rel="stylesheet" type="text/css" href="./Public/Home/css/login.css"/>
		<!--载入hdjs-->
		<link rel="stylesheet" href="./Public/hdjs/hdjs.css">
		<script src="./Public/hdjs/jquery-1.8.2.min.js"></script>
		<script src="./Public/hdjs/hdjs.min.js"></script>
	</head>
	<body>
	<script type="text/javascript">
		window.onload=function(){
			var codeimg=document.getElementById('codeimg');
			var abtn=document.getElementById('abtn');
			abtn.onclick=function(){
				codeimg.src="<?php echo U('User/code')?>";
			}
		}
	</script>
		<header>
			<div class="logo">
				<a href="" class="img"><img src="./Public/Home/img/icon1.png" alt="" /></a>
				<p class="title"><img src="./Public/Home/img/icon2.png" alt="" /></p>
			</div>
			<div class="tab_page">
				<p class="tips">宝，赶紧注册吧</p>
				<a href="<?php echo U('User/reg')?>" class="lo_btn">注册</a>
			</div>			
		</header>
		<div id="main">
			<div class="main_box">
				<a href="" class="banner"><img src="./Public/Home/img/icon618.png" alt="" /></a>
				<div class="form_lo">
					<form onsubmit="return hd_submit(this,'<?php echo U('index')?>','<?php echo U('Index/index')?>')">
					<div class="form_box">
						<input type="text" name="username" class="input tel" placeholder="请输入账号"/>
						<span class="prompt"></span>
						<input type="password" name="userpassword" class="input pwd" placeholder="请输入密码"/>
						<span class="prompt"></span>
						<!--<input type="text" class="input pwd_again" placeholder="请确认密码" />
						<span class="prompt"></span>-->
						<div class="code">
							<input type="text" name="code" class="code_input" placeholder="图形验证码"/>
							<a href="javascript:;" class="code_img"><img src="<?php echo U('User/code')?>" id="codeimg" onclick="src='index.php?m=Home&c=User&a=code'" alt="" /></a>
							<a href="javascript:;" id="abtn" style="color: grey">看不清，点击刷新</a>
						</div>
						<div class="agree">
							<label for="">
								<input type="checkbox" class="ckcheck" checked="checked" />
								自动登陆
							</label>
						</div>
						<button type="submit"  class="main_btn">登陆</button>
					</div>
					</form>
				</div>
			</div>
		</div>
		<div id="foot">
			<span>友情链接:</span>
			<a href="">小米</a>
			<a href="">小米</a>
			<a href="">小米</a>
			<a href="">小米</a>
			<a href="">小米</a>
			<a href="">小米</a>
			<a href="">小米</a>
			<a href="">小米</a>
			<a href="">小米</a>
			<a href="">小米</a>
			<a href="">小米</a>
			<a href="">小米</a>
			<a href="">小米</a>
			<a href="">小米</a>
			<a href="">小米</a>
			<p>Powered by DiXinTong©2001-2013 京ICP备11010605号 © 2001-2013 DiXinTong Inc.</p>
		</div>
	</body>
</html>
